package com.woniuxy.mapper;

import com.woniuxy.entity.Student;

import java.util.List;

/**
 * @author 作者
 * @create 2025-08-04 11:31
 * 学生的数据操作接口
 */
public interface StudentDao {
    //insert update delete select
    //添加学生
    void insert(Student student);
    //查询学生
    Student selectBySname(String sname);
    Student selectByEmail(String email);

    int selectMaxSid();

    List<Student> selectAll();

    void saveAll(List<Student> students);
}
